<%@ page contentType="text/html;charset=UTF-8" language="java" import="com.scalar.chiptrack.utils.ConfigManager"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href='<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css' type='text/css' rel='stylesheet'>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<logic:present name="sessionExpired" scope="request">
    <TABLE cellpadding='0' cellspacing='0' bgcolor='FDF5E6' border="0" width="100%"  height="100%" align=center>
        <TR>
            <TD>
                <TABLE align="center" border="0" width="40%" bgcolor="#FDF5E6">
                    <TR><TD>&nbsp;</TD></TR>
                    <TR><TD align="center" ><font class="NArialL" ><font color="red"><b>Session has been time out , Please close this window and login again.</b></font></font></TD></TR>
                    <TR><TD>&nbsp;</TD></TR>
                    <TR><TD align="center" ><a href="javascript:window.close();"><font class='NArialL'>[Close this window]</font></a></TD></TR>
                </TABLE>
            </TD>
       </TR>
       <TR><TD>&nbsp;</TD></TR>
    </TABLE>
</logic:present>
<logic:notPresent name="sessionExpired" scope="request">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 bgcolor="#FFFFEE">
	<TBODY>
		<TR>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<TD align="center" CLASS="NArialL" ><a href="javascript:close();">close</a></TD>
		</TR>
		<TR>
			<TD><chiptrack:info styleClass="NArialL" /></TD>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</TR>
		<TR>
			<TD><chiptrack:errors styleClass="NArialL"/></TD>
			<td></td>
			<td></td>
		</TR>
       <logic:present name="fileName" scope="request">
		<TR>
            <%
				String fileName = (String)request.getAttribute( "fileName" );
			%>
			<td CLASS="NArialL" width="40%">Wip Flush File:&nbsp;</td>
			<td CLASS="NArialL" >

				<a href='<%=chipTracContext%><%=ConfigManager.getWipFlushFilePath()%>/<%=fileName%>' onMouseOver="window.status='Please right click and select Save target as to save the File';return true" onMouseOut="window.status='';return true" target="resource window"><%=fileName%></a>

			</td>
			
			<td></td>
		</TR>
		<TR>
			<TD CLASS="NArialL" colspan="3">&nbsp;</TD>
		</TR>

		<TR>
			<TD CLASS="NArialL" colspan="3">To download the File Right Click and select Save Target as..</TD>
		</TR>
       </logic:present>

		<TR>
			<TD colspan="3">&nbsp;</TD>
		</TR>
		<TR>
			<TD colspan="3">&nbsp;</TD>
		</TR>
		<TR>
			<TD colspan="3">&nbsp;</TD>
		</TR>
        <TR>
			<TD colspan="3">&nbsp;</TD>
		</TR>
    </TBODY>
</TABLE>
</logic:notPresent>
</BODY>
</HTML>
